package cn.iocoder.yudao.module.system.controller.admin.template.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PersonalTemplateBaseVO {


    @Schema(description = "主标题", example = "ceshi")
    @NotBlank(message = "主标题不能为空")
    private String title;

    @Schema(description = "副标题", example = "副标题")
    private String subTitle;

    @Schema(description = "正文",  example = "正文")
    @NotNull(message = "正文不能为空")
    private String content;


    @Schema(description = "paragraph",  example = "正文")
    @NotNull(message = "paragraph不能为空")
    private String paragraph;

    @Schema(description = "格式json",  example = "正文")
    @NotNull(message = "格式json不能为空")
    private String params;


}
